# -*- coding: utf-8 -*-
# @Date    : 2017-05-25 15:35:43
# @Author  : fancy (fancy@thecover.co)
from celery import Celery

app = Celery('tasks', backend='rpc://guest@localhost//', broker='pyamqp://guest@localhost//')

@app.task
def add(x, y):
    return x + y
